/* Container for the article list */
.article-list-container {
    padding: 20px;
    background-color: #f7f7fb;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(124, 162, 232, 0.1);
    margin: 20px auto;
    max-width: 1200px;
}

/* Row container for cards */
.article-list-container .row-of-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Card styles */
.article-list-container .small-card {
    width: 100%;
    max-width: 320px; /* 控制卡片最大宽度 */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(132, 125, 229, 0.1);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    margin: 16px 0;
}

/* Card hover effect */
.article-list-container .small-card:hover {
    box-shadow: 0 6px 16px rgba(135, 111, 201, 0.15);

}

/* Card top and bottom with purple background */
.article-list-container .ant-card-meta {
    background-color: #f0f0f6; /* 灰色背景 */
    padding: 20px 16px;
    border-radius: 12px;
    text-align: center;
}

/* Card content with light grey background */
.article-list-container .ant-card-body {
    padding: 16px;
    background-color: #e8e4f2 !important; /* 紫色背景 */
    flex: 1;
    text-align: center; /* 文字居中 */
}

/* Title Style */
.article-list-container .ant-typography {
    font-weight: 600;
    color: #211f3f;
    text-align: center; /* 标题居中 */
}

/* Card text */
.article-list-container .ant-typography.text {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    text-align: center; /* 文字居中 */
}

/* Pagination style */
.article-list-container .ant-pagination {
    margin-top: 20px;
}

.article-list-container .ant-pagination-item {
    border-radius: 8px;
}

.article-list-container .ant-pagination-item:hover {
    background-color: #211f3f;
    color: #fff;
}